RAIS  3.2
C:/Projekte/RAIS/common/Practice.cs
Go to the documentation of this file.
00001 
00028 using System;
00029 using System.Collections.Generic;
00030 using System.Text;
00031 using System.Data;
00032 
00033 namespace RAIS.Common.UserManagement
00034 {
00035     public class Practice : DBObject
00036     {
00037         #region Constructors
00038                 public Practice()
00039                 { }
00040                 public Practice(IDataRecord record)
00041                 {
00042             if (record["PK Practice ID"] is DBNull)
00043                         {
00044                                 this.ID = 0;
00045                                 this.Name = string.Empty;
00046                         }
00047                         else
00048                         {
00049                 this.ID = (int)record["PK Practice ID"];
00050                                 this.Name = record["Practice Name"].ToString();
00051                         }
00052                 }
00053                 #endregion
00054     }
00055 }